﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Configuration;
using System.Collections.Generic;
using System.Collections;
using PersistentObject.Common.Criteria;
using PersistentObject.SqlServer2012;
using System.Data;
using System.Linq;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using PersistentObject.Common;

namespace PersistentObject.StudentTest
{
    public abstract class BaseSqlExecutorTest
    {
        public abstract BaseDialect Dialect { get; }
        public POConnection Connection { get; set; }
        public SqlExecutor Executor {get;set;}

        public BaseSqlExecutorTest()
        {
            string ConnectionString = ConfigurationManager.ConnectionStrings["StudentsSqlServer2012"].ConnectionString;
            Connection = new POConnection(ConnectionString, Dialect);
            Executor = new SqlExecutor(Connection);
        }

    }
}
